package com.szpx.entity.daimingdongentity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author daimingdong
 * @version 2024/4/4 12:54
 * description
 * @title StockOutReport
 **/
@Data
@Table(name = "stock_out_report")
public class StockOutReport {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private String stationName;//站点名称
    private String goodsName;//货物名称
    private Integer quantity;//数量
    private Double totalAmount;//总金额
    private Date reportDate;//报表日期

    @Override
    public String toString() {
        return "StockOutReport{" +
                "id=" + id +
                ", stationName='" + stationName + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", quantity=" + quantity +
                ", totalAmount=" + totalAmount +
                ", reportDate=" + reportDate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Date getReportDate() {
        return reportDate;
    }

    public void setReportDate(Date reportDate) {
        this.reportDate = reportDate;
    }
}
